/*
 * HublistEntry.java
 *
 * Created on 27 November 2006, 23:21
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package libjdc.hublist;

import java.util.TreeSet;
import libjdc.hublist.HubEntry;

/**
 *
 * @author root
 */
public class HublistEntry {
    
    private String name;
    private String address;
    private TreeSet<HubEntry> hubEntries;
    
    /** Creates a new instance of HublistEntry */
    public HublistEntry(String name,String address) {
        this.setName(name);
        this.setAddress(address);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public TreeSet<HubEntry> getHubEntries() {
        return hubEntries;
    }

    public void setHubEntries(TreeSet<HubEntry> hubEntries) {
        this.hubEntries = hubEntries;
    }
    

}
